class Anagrafiche::RubricaTelefonicaController < DefaultController
  require_role self.parent_name.underscore
  
  active_scaffold :rubrica_telefonica do |config|
    config.label = Application.controller_label(self)
    config.actions = [:list, :export, :search]
    config.list.always_show_search = true
    config.search.live = true
    config.columns = [:tipo, :nome, :contatto, :telefono, :cellulare, :fax, :mail]
    config.search.columns.exclude :tipo
  end
end
